package com.shop.cereshop.admin.service.shop.impl;

import com.shop.cereshop.admin.dao.shop.CereShopEnterpriseDAO;
import com.shop.cereshop.admin.service.shop.CereShopEnterpriseService;
import com.shop.cereshop.commons.domain.shop.CereShopEnterprise;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CereShopEnterpriseServiceImpl implements CereShopEnterpriseService {

    @Autowired
    private CereShopEnterpriseDAO cereShopEnterpriseDAO;

    @Override
    public CereShopEnterprise findByShopId(Long shopId) {
        return cereShopEnterpriseDAO.findByShopId(shopId);
    }
}
